home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / lvswin31.zip / LVSPICK.HPP < prev    next >
C/C++ Source or Header  |  1992-02-03  |  872b  |  39 lines

  1. /*
  2.  *            LVS Windows
  3.  *      The Window Class System
  4.  *
  5.  *        Copyright 1991 (c), Lake View Software
  6.  *                            4321 Harborough Rd.
  7.  *                            Columbus, OH 43220
  8.  *        All rights reserved.
  9.  */
  10. // Window Pick list class
  11.  
  12. #ifndef LVSPICK_HPP
  13. #define LVSPICK_HPP
  14.  
  15. #include "LVSwin.HPP"
  16.  
  17. class WinPick:public WinObj
  18. {
  19.     protected:
  20.         char **pick_list;
  21.         int count;
  22.         int bar_attr;
  23.         int pointer,cursor;
  24.         void up ();
  25.         void down ();
  26.         void mouse_routine (int y, int x);
  27.         unsigned char bor_char (int y, int x, unsigned char &);
  28.     public:
  29.         WinPick ();
  30.         ~WinPick ();
  31.  
  32.         void prompt (char **list,int num=-1);
  33.         int read (int start = 0);
  34.         int set_barattr (int attr);     // returns old value
  35. };
  36.  
  37.  
  38. #endif
  39.